package uestc.lj.gulishop.auth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import uestc.lj.common.utils.R;

/**
 * @Author:Crazlee
 * @Date:2021/6/10
 */
@FeignClient("gulishop-third-party")
public interface MessageFeginService {

    @GetMapping("/sms/sendcode")
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
